/**
 * 无尽模式说明界面
 */
class EndLessStateUI extends UIBase{
    private btn_sure:BaseButton;
    constructor(data)
    {
        data.showBG = true;
        super('EndLessStateView', data);
    }

    public init()
    {
        super.init(true);
    }

    public addEvent()
    {
        super.addEvent();
        this.btn_sure.addTapHandler(this.sureHandle, this);
    }

    public sureHandle()
    {
        this.remove(1);
    }

    public removeEvent()
    {
        super.removeEvent();
        this.btn_sure.removeTapHandler();
    }

    public clear()
    {
        super.clear();
    }
}